package net.lab1024.sa.admin.module.business.test2.domain.form;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.time.LocalDate;
import lombok.Data;

/**
 * 计科院活动信息表 更新表单
 *
 * @Author mt
 * @Date 2025-07-05 01:56:56
 * @Copyright e
 */

@Data
public class Test2UpdateForm {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "id 不能为空")
    private Integer id;

    @Schema(description = "活动名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "活动名称 不能为空")
    private String activityName;

    @Schema(description = "活动日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "活动日期 不能为空")
    private LocalDate activityDate;

    @Schema(description = "活动类型")
    private String activityType;

    @Schema(description = "主办单位")
    private String organizer;

    @Schema(description = "活动地点")
    private String location;

    @Schema(description = "参与对象")
    private String participants;

    @Schema(description = "活动内容详情", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "活动内容详情 不能为空")
    private String content;

}